import { BasicFetchResult } from '@/api/model/baseModel'
import { CategroyModel } from './cateModel'
import { ProviderModel } from './providerModel'

/**
 * 服务商模型
 */
export interface StaffModel {
  id: number
  category_id: number
  name: string
  category: CategroyModel[]
  provider_id: number
  phone: string
  avatar_url: string
  order_count: number
  order_complete_count: number
  rating: number
  sort: number
  create_time?: string
  update_time?: string
  provider?: ProviderModel
}

export type StaffListGetResultModel = BasicFetchResult<StaffModel>
